﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Notes.aspx.cs" Inherits="Notes" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-EN">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type='text/javascript' src="assets/jquery/jquery-1.5.2.min.js"></script>
    <script type='text/javascript' src="assets/jquery/jquery-ui-1.8.22.min.js"></script>
    <script type='text/javascript' src='Assets/jquery/simple_colorpicker.js'></script>
    <script type='text/javascript' src="assets/js/jquery.autocomplete.js"></script>
    <script type='text/javascript' src="assets/js/timepicker.js"></script>
    <link rel="stylesheet" type="text/css" href="assets/css/jquery.autocomplete.css" />    
    <script type="text/javascript">

        $(document).ready(function () {
            $("#datepicker_startdate").datepicker({ dateFormat: "yy-mm-dd" });
            $("#datepicker_enddate").datepicker({ dateFormat: "yy-mm-dd" });
            $('#timepicker_startdate').focus().autocomplete(timepicker);
            $('#timepicker_enddate').focus().autocomplete(timepicker);          
        });

        function getUrlVars() {
            var vars = [], hash;
            var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
            for (var i = 0; i < hashes.length; i++) {
                hash = hashes[i].split('=');
                vars.push(hash[0]);
                vars[hash[0]] = hash[1];
            }
            return vars;
        }

       
    </script>
    <link rel="stylesheet" type="text/css" href="assets/jquery/style.css">
</head>
<body style="width: 100%; height: 100%;">
    <link href="assets/jquery/jquery-ui.css" rel="stylesheet" type="text/css" />
    <form id="Form1" runat="server">
    <div style="width: 325px; height: auto;">
        <div id="error_message">
        </div>
        <div style="float: left; padding: 0;">
            <span style="float: left;">Tên:</span>
            <asp:TextBox type="text" Style="width: 285px;" name="txtName" ID="txtName" value=""
                runat="server"></asp:TextBox>
        </div>

        <div style="float: left; padding: 5px 0 0 0;" >
            <div style="float: left; padding: 5px 0px 0px 0px;">
                <span style="">Ngày:</span>
            </div>
            <div style="float: left; padding-left: 0px;">
                <asp:TextBox type="text" Style="width: 76px;" name="datepicker_startdate" ID="datepicker_startdate"
                    value="" runat="server"></asp:TextBox>
            </div>
        </div>
        <div class="clear">
        </div>
        <div style="float: left; padding: 5px 0 0 0; width: 100%;">
            <a href="cal_events.aspx" class="button">Quay lại</a>
            <asp:Button ID="btnSave" runat="server" Text="Cập nhật" class="button" OnClick="btnSave_Click" />
        </div>
    </div>
    </form>
</body>
</html>
